<template>
  <div>
  

   <keep-alive>
     <router-view></router-view>
   </keep-alive>
   
   <van-tabbar route active-color="#21b97a">
  <van-tabbar-item replace to="/home" icon="wap-home-o" >首页</van-tabbar-item>
  <van-tabbar-item replace to="/looking" icon="search">找房</van-tabbar-item>
  <van-tabbar-item replace to="/news" icon="newspaper-o">讯息</van-tabbar-item>
  <van-tabbar-item replace to="/my" icon="contact">我的</van-tabbar-item>
</van-tabbar>
  </div>
</template>

<script>
export default {
  name: 'layout',
data(){
  return {
   
  }
}
}
</script>

<style scoped lang="less">
   .nav{
    display: flex;
    justify-content: center;
    text-align: center;
    line-height: 70px;
    height: 70px;
    background-color: #21b97a;
    color: #fff;}
</style>
